from django.conf.urls import patterns, include, url

urlpatterns = patterns('auth.views',
	url(r'^user/(?P<username>\w+)/$', 'view_user'),
    url(r'^users/$', 'list_users'),
    #url(r'^group/(?P<group>\w+)/$', 'view_group'),
    url(r'^groups/$', 'list_groups'),
    url(r'^create-user/$', 'create_user'),
    url(r'^create-group/$', 'create_group'),
    url(r'^trash/(?P<username>\w+)/$', 'trash_user'),
    url(r'^delete/(?P<username>\w+)/$', 'delete_user'),
    url(r'^edit/(?P<username>\w+)/$', 'edit_user'),
    url(r'^edit-group/(?P<group_id>\d+)/$$', 'edit_group'),
    url(r'^delete-group/(?P<group_id>\d+)/$$', 'delete_group'),
)